<div ng-controller="logsManageCtrl">

  <div>
    <table class="table table-hover">
      <thead>
       <tr class="bg-danger">
        <th>行号</th>
        <th>操作人员</th>
        <th>操作信息</th>
        <th>日志类型</th>
        <th>操作时间</th>
       </tr>
      </thead>
      <tr ng-repeat="d in list">
        <td><span ng-bind="$index+1"></span></td>
        <td><span ng-bind="d.operator"></span></td>
        <td><span ng-bind="d.log"></span></td>
        <td><span ng-bind="d.logtype"></span></td>
        <td>
          <span show-time="{{d.lastupdate}}" format="y-M-d h:m:s"></span>
        </td>
      </tr>
    </table>
    <nav class="text-center" ng-if="page.pageCount>1">
      <ul class="pagination">
        <li>
          <a href="javascript:void(0);" ng-click="toPage(1)">首页</a>
        </li>
        <li>
          <a href="javascript:void(0);" ng-click="toPage(page.pageNumber-1)">上一页</a>
        </li>
        <li>
          <a href="javascript:void(0);">
            总记录数{{page.total}}/当前页数{{page.pageNumber}}/总页数{{page.pageCount}}
          </a>
        </li>
        <li>
          <a href="javascript:void(0);" ng-click="toPage(page.pageNumber+1)">下一页</a>
        </li>
        <li>
          <a href="javascript:void(0);" ng-click="toPage(page.pageCount)">尾页</a>
        </li>
      </ul>
    </nav>
  </div>

</div>